figure out the amazons3 problem