added pt shell input cb