Move problem declarations outside