added functios