add support to 16 types of clock