replace magic number '2' by const variable with clear name