Added example
Added module exports and fixed parameter name