add view by given score function