multiple pic function