added motor sample souce