removed unused if else