added accept_parameters example
a bit more documentation