add support for 24 patterns