Solution for insert