simplifying code...