removed unused boolean