560 Added missing method from online solutions