more barebones example, also sending the parameters via an assoc array