updating to make the fill function an option