added method to jbox