changed from .val() to .text()