bpm with linked list