changed the rate and comment functions for the last two cases.