basic functionality (0.1) implemented with api call