WORKING OMG, modified extern declarations\!