submit almost all code offline