added declaration of data types