code cleanup
sales registry