added more work in mean, node and games