added declarations for ports