added inputc