deleted Robert's functions, they've already been incorporated into main