adding wavefront loader