cleaned up code to synch with rlpark