removes hard coding