removed requirement for chatlibary