Timer func. implemented.