p-n works. just need to refactor and clean up