added cost-functions and objects into environments