made it work somehow