Removed unused boolean