Creating timer in appropriate location