sample timer project is coded by Swift