lab2 intent class