Can now check for horizontal and vertical errors