refactoring advanced reports to use actions