pattern, inspired by >>