it might be right now after i defined the supply rails to the op-amp but i haven't fiddled with the diodes yet. it's meant to be a variable threshold.