Changing to gaussian kernel, stub code for barrier fn