A lot of bad code happens here... please, be aware of the massive evil inside