make it work with relative values for the two becon types