Almost functional..  needs clear button fixed