lot of dirty code