Added features : resize and snapshot