added on aws test function