Determine the top three functions of a human resources department.