notebook for testing kernel function