added vertical boolean