setting class