Added speed limit (primitive) and some input checkings