used define instead of constant.. removed unecessary value from packet
unrelated: got rid of some warnings