#4: added separated and merged modes for user statistics