api call accurate, moved to clientside