too many magic numbers '8'. replace it by a const variable with clear name