Added clock (and default clock) setup from Brent Hansen (doc.norang.ca)