added var for ip