Statistical layout
Cleaned exception handling