Temporal and Spatial complexity