got basic version working