make registerAttempt() take View params