removed debugging statements and updated LUP