Add pymines formula