beginigs of riot api helpers