added absoluteBoxPlugin function