use foo class