removed method 'method', not documented, use 'via' instead
updated version