added return value to verify because the project wouldn't compile