created method for getting replies