removed repetition in demo