updated to include a codebox class