added proper call to RDS