cleaned up offsets
changed parent support
fixed formatting of unary minus