add basic patterns and create_pattern method