creating a box elements