timed functions in rama.py