added function parameters for circularity