updated and performed perft