#5 simple api and test