Changes made to ais code to get ready to test'