A better virtual code