added vertical rate and messages for debug purposes.