adding patterns fixing up display problems