added scanf example