adding plotkvdk2; modified to accept specific frames