added max and min entries