Percritic issue - can't see return which is indeed present