added appledoc documentation