resolved nullPointer error, no exception raise anymore we return null if host does not exist atm #schmul