Adding some codesnippets