resolve
fill function
bare function