removing wrap_attribute method, will be separate module