make sure that setPickUp() uses a parameter as boolean