add pattern design