SINLAB with fog
this is the working version of everything