first version working

first version