fixes #60 check if method exists, private & public