attempt at a gpe kernel