Rewritten version of my first Epiphany3D