Initial version of annz with modofications.