adds pry functionality