Some useful Codesnippets!