add console.log and generalize port