adding speakers to functions