added object enum type

This is gonna break shit