add private/public to functions