ref view. non tested yet