improved the random greeting part