sales database interaction working!