working upto insert type problems