add hand close to record.py