there are tests for this method