Brace yourself - dirty code is comming