Use snippets and mock will have alone function