using myTypes instead of  myTypes