implemented AOA but not working
implemented AOA but not working