initial work done on nullable. Testing not done yet