improved cucumber snippets