Added function to handle pickup requests