added the term active to methods and fixed demo