Updating demo;
Renaming internal method