adjusted cypher.execute implementation