more work on ksvd