Rearranged conditions for amazon