Understanding their motivation helps retain staff