Created a library for Mac/PC compatibility