removed unused bool