added ticks, implemented graphics component