tried to implement auto-run feature, failed