should be (quint8) not quint8()