added variable for the final combination coding