now take string as category