added note about legacy code