Added uppercap to speed magnitude to 30