Retaining nurses to mitigate shortages