Factoring out key methods