"Committing, attempting to commit, or taking part in a felony or assault, or engaging in an illegal occupation;"