both version working