added type to objects