getName method
class commit
factory