made it work for mac