Prm
refactoring and adjusting prm constants