keepInvetory boolean is painful