for both compability