Added clock reset