added clock to try out design