It's a piece of old code, new one I write properly ;) Code here definitely requires cleaning up.