fixing scope bugs so you can dereference classes within classes now