messing around...making restful api'