initialize some codesnippet