implement a few exercises