first smitdgen of code