to add sold only flag