first version working online