check the state variables in add. Probably adding outside of screen.