expose parameter names
added some prints