working on defineBox