scanf replaced