thomaschaaf: you need to make a counter of some sort (or use a library for it)