class for all box