Fix predictable ports bug

Added a method to check ports that are occupied by the gears
use camelCase for parameters