added scanf_loop & string_cmp