a programming guide v4.0