added character input and tests