legal guidance for HR managers