leaf is component now, working on attaching it to platform