SMS: Deploying functional grammar