ptr library 0.9.7