now processes arbitrary AMAs supplied by the user and stored in params