Add parameter inference to s-w stuff

start writing parametercounter