Basic implementation for mac