combine the above two.