Factors affecting human resource management