fixed t value issue added class diagram