code working now, but a few proteins are exceptions