added objects to patterns