Added ip display code