modifying this for dual rail logic based systems