Removed unnecessary variables from example