Finished writing the perform slide method.