sonar fixing for unused parameters