Changed high logic to low logic