changed Console to Scanner