wrote last two generated feature code snippets