obj-c rewrite so that it works with mavericks