has to be like this with js for now