completed func. spec for insert.