updated so we get a good OD detection