new version with sparq modification