enforced using zinc in scala