Added  declarations for basic functions