\newtheorem{rem}[theorem]{Remark}