add crystal support