now handle digital and non-digital resource