less hard coding of height