implement the 5 special keys for slalom calculation