lame solution for two sections