a quick change to try and speed up the js model