works although I have no idea why?