get rid of hard coding