remove doc from method