added PHM stuff