using getline returns value so that jordan stops complaining