Added solution for REAR
Added solution for LGIS