Added a modified select function to console for later use