int error and mean