Initial port caching attempt
Working on state strangeness