adding clock
merging with collision and clock