get initial version working