Added getFill function