Update.
Testing method calls.
Added test methods and updated index().