minor change to parallax. de-dup code