added NSUserDefault to store permanent data