protein object working