during the first years in madrid he focuses on his activity as a teacher