copy and rename mean functions to solve functions