made it work (hopefully)