adding back finalize methods