added nice assertion