first working version of dali lib