corrected the strcture