cleaned up measurements for the front end