original implementation for Revit 2011