coses #4
implimented demo