cleans up func method doc comment