sentence generator working