added hat command