Use passed in clock instead of default clock