add comment for fill function