added masterlist code