Add optimistic define function, no error handling
Add testing