added sample for the core animation way