removed unnecessairy permission and some unused methods