Added final master pic code