host app implementation