rewrote bottom section