adding basic patterns version