for stairs substitution is direct