changed to execute() for the insert statement