Added full functionality to staircase