add method to box