added scanf()