rest api shenanigans, added a little