literally copied and pasted from the stack overflow thread but changed MyApp to the name that was in the default