a b c d pattern