implement blue.py based on the architecture team