Different code blocks and trash. For own use only.