added constant to legend