put run fragment callback behind an interface