Removed Scanner code