now it works both ways