now single row mode for prepare and declare