changed .val() to use fmap