generate attempts controller