Some silly code snippet I'm sharing