Added object attribute functionality -- functions still need work