remove unneeded frand functions