updated for new api changes