got internal working
i think i got it