Changed reference from current_line to current_item