hooks replaced serializer