Added drawing time, so reactor doesn't work only once