Trying to make the examples functional