attachment factory