improving rendering (still with static resources)