using varaible substitute instead of hard coding