refactored method name and altered textbox styles