basic logical functionality is done

good to demo