are you sure plr will never be NULL ?