getting rid of unnecessary 'lasttime'