key class; tuning header
implement some key-class
define intervals