obj type and better type parser