added new pickup function