ifText method commented out