Completed the fill method