added sold method in Product's model