fix problem with exports and create example, wip