Add Java Functions Example