added core data, video recording