added preliminary drive code