Small bug in line 135 - variable handover