abstracted a few list things into methods like searching and adding