added clock tick