added new patterns and new helper for drawing shapes