add steps count; add refresh function