Defined the dealer methods and fixed some buggies