ann calc implemented