added model for timer