better admin.py
helper functions added