add setLine and setCircle blocks