Added Host code (Untested)