First 'almost working' version