added speed argument for moveforward