Removing all the unneeded stuff