updated to new hxsl