Added Checking for new API

Just for the new api you made.