First dirty version, DE solution not working