workign on mac_learning