simplifying rest api >:(