implementing vehicle methods to pass tests