get rid of restAPI-stuff