changed complex accessor funcs, and fixed integer?