minimal code. everything works fine. never wrote something as fast!