moved key value pairs to main area