This is a copy-paste job, right? Find out how we can re-use code later?