Added Algorithm