initial documentation and testing of extern keyword