Adding an product overall function