add an extra shorthand function to get parameters