this whole fetching object info is abit too ugly