valleyScore implementation for the website