put Parse variable for RC app, also cleaned up code