Initial two factor example code