added locomotive prototype