Fleshing out the code