working on process of integrating Raphys code
significant progress adopting Raphys code