Add procedure and sample calc