added parameters to _fill method