Update Locomotive.java