created Assistant class
fixed bug