second learning phase