adding port scanner code