prepare features