added speed constant