got rid of unused functions

removeBox()