primitive detection of parameter implemented + wip