generator crystal