frederick hayes