Check in working version for SimpleLM