Commit Four. Setting up function.