add resource pg and resource styles