added second stage tabs
added second stage tabs
fixed wrong check-in
code clean-up
added visualisation
code fix