Visitors: The investment function