merlin-core