reduced globals and added some objects'
'