updated timings

Signed-off-by: Arvind Chembarpu <achembarpu@gmail.com>
converted chain if to if-elif

Signed-off-by: Arvind Chembarpu <achembarpu@gmail.com>