added PUBLIC FUN and PUBLIC DATA to the syntax