added timeout and lockout