making call to db for active trucks