first implementation for insert statements