commented some stuff so it works offline