decorate.default function

default method to decorate