Creating a helper for af's silly code