removed API preview code