resolved insert query by using cursor postn: Testing remaining