added type to dictionary