changed parameter order for convert, invert, and ticks