added before and after section