Attemping to work with API