lib:add method to determine assignemnts for dob and color