replace explicit with implicit target in Buffer