Edited for deq