implement calculated literals