Variablize those functions