Some work on fill function.