Add docstring
Remove debug code
Print correct value