set names on methods to make selection function easier and example smaller