added dectorator to methods