improved resourceBox design