back end of rndm app