Partially refactored scoring callback pyramid of hell