Fixed things and added declaration of nekland datetime