Added option for speed