forgot to account for horizontal vs vertical