Abstracted code with more methods