first real working version of EWK combined