Add attribute packed and some commented out stuff i don't remember what it was used for :P