mistake in function.py