added string input variant and updated readme