Factoring out some code