setting port as integer