add retary class