adding new box functionality