fixing pointer input
adding .DS_Store to gitignore