modified for aws usage