finished porting the express examples