setting interval_unit on create