added numpass() to utils.py