implemented ajax from solution video