Removed warnings because of prototype