added support for custom tick marks