Add sample for resize