work on chapter implementation