added ticks and did some tests