add check argument to load texts function