makes boxes on click