working on merlin