input detail base class and other changes