made arguments optional for pattern creation
closes #128