adding height to each resource