initial 30min. brain-code-snippet dump, the code is a mess!...