examples for system programming