(select action
    (when 'start'
        (
            ...
        )
    )
    (when 'stop'
        ( 
            ...
        )
    )
)
