EXPERIMENTAL - this code shoudl be put into drivebase.c