removed ticks, added some comments. This has to become more flexible