added aws functionality