work on the deligate input class