add snippet. do smth only if th e code is being implicitly run.