made triangle drawing better