added short terms func defn for melds