need to work on displaying y value correctly