demo with customized best_in_place