add functions for IDEAL_SLIDING. warning: not compiled yet
it is compiled! yahoo