Moved codesnippet to better position.