added slight modification to increase inherited

support.