refactoring + google spreadshee support