making it work for mac