Splitting the code up.