Decide what to do