updated to reflect changes in lib