Finish code for example 15