Made Object map into method