added input and string example