changes to remove implicit string conversion