updates to driver routine