removed magic number 10, closing issue 3