removes hard coded variables