add skeleton for fast2matrix