reimplemented simple example execution