updated to better motor driver