Don't know why it works but it seems to work