updated code to show sections