started defining methods; renamed textarea to prompt