adding core graphics dependency