first attempts at string input handling