Had to cast this->pin as int (derp)