added more methods to get useful data from api