Use single function for Locamotion import