two patterns I created at my internship