added interfaces for crystal trimming