Added flick behaviour and debug stage.