restructuring part 2 (killed standard_ref)