vade: Add lower and upper functions