templates created. form from class working