Removed useless Scanner object