Added code to stop motors