Routine for pip