updated to use aws provider