Consider case when code has no class