Working with a  simple api