updated for hosted