Used the static vars instead of hard coding