updated blgd compare to be string