1. remove debug code