initial steps towards modular pattern construction