added basic support for parameters