timer updates and adding namespace function