changed the .cpp to have another out message