added type directive