Dividing the code a little bit.