added raw input code