added ip printout