take out unneeded stuff