Breaking apart the functions further.