updated for change in frog API