Select and text statements have been changed into methods