Score functionality added