adding diim and some other crap