added code for level 24