added setPort