is there any performance issues are there if we use scanner class??