add append method in engine