added functests