added version field to the statement object