Add in code to determine next SYPY