Update main.py

new features