fixed some venial bugs
new file : entry.py