deleting unnesessary parts