PTR almost works
Added more non-functional functionality