added support for getting tickmarks