rm unused variables
rm dead code