added ability to draw rec to specified sides