compressed some code