added colors and fixed bounds on prog1