Added parameters and method doc