added enum for speed