added constraints for leading 0s