retrieving all infofrom API