Adding initial leader code