Assignment2 patterns & frameworks