wrapper for Core Animation