Clone of torhve/photongx