updated measuring method