updated copyright
added dereferencing to C structs