changed function name in instantiation