Had to adjust it for double digit numbers