got api working, but it is very limited