optional compilation for 4.02