made object to map and others too