it's like scanf function