made port argument optional