added LAPIN solution