Investigating the data rate in reconfigurable intelligent surfaces assisted wireless communication