After birth cortex of the brain is responsible for