ports read as arguments to main methods