take out unecessary things