first attempt at Sonar within method
Sonar within implementation + tests