one possible solution, excluding edit mode