Changed clock in/out feature to not use signals