added ability to specify number to check from console