add some ptich class and interval stuff