initial unicorn implementation