added type hint to command translator